<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::QuantizedMultiModFeature结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structpcl_1_1_quantized_multi_mod_feature.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="structpcl_1_1_quantized_multi_mod_feature-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::QuantizedMultiModFeature结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpcl_1_1_feature.html" title="Feature represents the base feature class. Some generic 3D operations that are applicable to all feat...">Feature</a> that defines a position and quantized value in a specific modality.  
 <a href="structpcl_1_1_quantized_multi_mod_feature.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="sparse__quantized__multi__mod__template_8h_source.html">sparse_quantized_multi_mod_template.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:adac492396d2c4b209aadc71af6ee464a"><td class="memItemLeft" align="right" valign="top"><a id="adac492396d2c4b209aadc71af6ee464a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#adac492396d2c4b209aadc71af6ee464a">QuantizedMultiModFeature</a> ()</td></tr>
<tr class="memdesc:adac492396d2c4b209aadc71af6ee464a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:adac492396d2c4b209aadc71af6ee464a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c2ad7dc839cec514ce158713cd6b304"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#a4c2ad7dc839cec514ce158713cd6b304">compareForEquality</a> (const <a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html">QuantizedMultiModFeature</a> &amp;base)</td></tr>
<tr class="memdesc:a4c2ad7dc839cec514ce158713cd6b304"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares whether two features are the same.  <a href="structpcl_1_1_quantized_multi_mod_feature.html#a4c2ad7dc839cec514ce158713cd6b304">更多...</a><br /></td></tr>
<tr class="separator:a4c2ad7dc839cec514ce158713cd6b304"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c70fe0c1906adba543016ed386c1930"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#a4c70fe0c1906adba543016ed386c1930">serialize</a> (std::ostream &amp;stream) const</td></tr>
<tr class="memdesc:a4c70fe0c1906adba543016ed386c1930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Serializes the object to the specified stream.  <a href="structpcl_1_1_quantized_multi_mod_feature.html#a4c70fe0c1906adba543016ed386c1930">更多...</a><br /></td></tr>
<tr class="separator:a4c70fe0c1906adba543016ed386c1930"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e075571f73556d8d15ef14451a7921a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#a0e075571f73556d8d15ef14451a7921a">deserialize</a> (std::istream &amp;stream)</td></tr>
<tr class="memdesc:a0e075571f73556d8d15ef14451a7921a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deserializes the object from the specified stream.  <a href="structpcl_1_1_quantized_multi_mod_feature.html#a0e075571f73556d8d15ef14451a7921a">更多...</a><br /></td></tr>
<tr class="separator:a0e075571f73556d8d15ef14451a7921a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a4738f0df69322f7d10ff08ea9f78436f"><td class="memItemLeft" align="right" valign="top"><a id="a4738f0df69322f7d10ff08ea9f78436f"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#a4738f0df69322f7d10ff08ea9f78436f">x</a></td></tr>
<tr class="memdesc:a4738f0df69322f7d10ff08ea9f78436f"><td class="mdescLeft">&#160;</td><td class="mdescRight">x-position. <br /></td></tr>
<tr class="separator:a4738f0df69322f7d10ff08ea9f78436f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accb11ae888160446c94d0b30aafd222e"><td class="memItemLeft" align="right" valign="top"><a id="accb11ae888160446c94d0b30aafd222e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#accb11ae888160446c94d0b30aafd222e">y</a></td></tr>
<tr class="memdesc:accb11ae888160446c94d0b30aafd222e"><td class="mdescLeft">&#160;</td><td class="mdescRight">y-position. <br /></td></tr>
<tr class="separator:accb11ae888160446c94d0b30aafd222e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac64b7a232a4526c6f67b4ae6195d4149"><td class="memItemLeft" align="right" valign="top"><a id="ac64b7a232a4526c6f67b4ae6195d4149"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#ac64b7a232a4526c6f67b4ae6195d4149">modality_index</a></td></tr>
<tr class="memdesc:ac64b7a232a4526c6f67b4ae6195d4149"><td class="mdescLeft">&#160;</td><td class="mdescRight">the index of the corresponding modality. <br /></td></tr>
<tr class="separator:ac64b7a232a4526c6f67b4ae6195d4149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0d24e187cac516ee374d8aeda17a6e"><td class="memItemLeft" align="right" valign="top"><a id="aaa0d24e187cac516ee374d8aeda17a6e"></a>
unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html#aaa0d24e187cac516ee374d8aeda17a6e">quantized_value</a></td></tr>
<tr class="memdesc:aaa0d24e187cac516ee374d8aeda17a6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">the quantized value attached to the feature. <br /></td></tr>
<tr class="separator:aaa0d24e187cac516ee374d8aeda17a6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><a class="el" href="classpcl_1_1_feature.html" title="Feature represents the base feature class. Some generic 3D operations that are applicable to all feat...">Feature</a> that defines a position and quantized value in a specific modality. </p>
<dl class="section author"><dt>作者</dt><dd>Stefan Holzer </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a4c2ad7dc839cec514ce158713cd6b304"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c2ad7dc839cec514ce158713cd6b304">&#9670;&nbsp;</a></span>compareForEquality()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::QuantizedMultiModFeature::compareForEquality </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html">QuantizedMultiModFeature</a> &amp;&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compares whether two features are the same. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">base</td><td>the feature to compare to. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    {</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;      <span class="keywordflow">if</span> (base.x != <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#a4738f0df69322f7d10ff08ea9f78436f">x</a>)</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;      <span class="keywordflow">if</span> (base.y != <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#accb11ae888160446c94d0b30aafd222e">y</a>)</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;      <span class="keywordflow">if</span> (base.modality_index != <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#ac64b7a232a4526c6f67b4ae6195d4149">modality_index</a>)</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;      <span class="keywordflow">if</span> (base.quantized_value != <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#aaa0d24e187cac516ee374d8aeda17a6e">quantized_value</a>)</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    }</div>
<div class="ttc" id="astructpcl_1_1_quantized_multi_mod_feature_html_a4738f0df69322f7d10ff08ea9f78436f"><div class="ttname"><a href="structpcl_1_1_quantized_multi_mod_feature.html#a4738f0df69322f7d10ff08ea9f78436f">pcl::QuantizedMultiModFeature::x</a></div><div class="ttdeci">int x</div><div class="ttdoc">x-position.</div><div class="ttdef"><b>Definition:</b> sparse_quantized_multi_mod_template.h:57</div></div>
<div class="ttc" id="astructpcl_1_1_quantized_multi_mod_feature_html_aaa0d24e187cac516ee374d8aeda17a6e"><div class="ttname"><a href="structpcl_1_1_quantized_multi_mod_feature.html#aaa0d24e187cac516ee374d8aeda17a6e">pcl::QuantizedMultiModFeature::quantized_value</a></div><div class="ttdeci">unsigned char quantized_value</div><div class="ttdoc">the quantized value attached to the feature.</div><div class="ttdef"><b>Definition:</b> sparse_quantized_multi_mod_template.h:63</div></div>
<div class="ttc" id="astructpcl_1_1_quantized_multi_mod_feature_html_ac64b7a232a4526c6f67b4ae6195d4149"><div class="ttname"><a href="structpcl_1_1_quantized_multi_mod_feature.html#ac64b7a232a4526c6f67b4ae6195d4149">pcl::QuantizedMultiModFeature::modality_index</a></div><div class="ttdeci">size_t modality_index</div><div class="ttdoc">the index of the corresponding modality.</div><div class="ttdef"><b>Definition:</b> sparse_quantized_multi_mod_template.h:61</div></div>
<div class="ttc" id="astructpcl_1_1_quantized_multi_mod_feature_html_accb11ae888160446c94d0b30aafd222e"><div class="ttname"><a href="structpcl_1_1_quantized_multi_mod_feature.html#accb11ae888160446c94d0b30aafd222e">pcl::QuantizedMultiModFeature::y</a></div><div class="ttdeci">int y</div><div class="ttdoc">y-position.</div><div class="ttdef"><b>Definition:</b> sparse_quantized_multi_mod_template.h:59</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a0e075571f73556d8d15ef14451a7921a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e075571f73556d8d15ef14451a7921a">&#9670;&nbsp;</a></span>deserialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::QuantizedMultiModFeature::deserialize </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Deserializes the object from the specified stream. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">stream</td><td>the stream the object will be deserialized from. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    {</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;      read (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#a4738f0df69322f7d10ff08ea9f78436f">x</a>);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;      read (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#accb11ae888160446c94d0b30aafd222e">y</a>);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;      read (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#ac64b7a232a4526c6f67b4ae6195d4149">modality_index</a>);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;      read (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#aaa0d24e187cac516ee374d8aeda17a6e">quantized_value</a>);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a4c70fe0c1906adba543016ed386c1930"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c70fe0c1906adba543016ed386c1930">&#9670;&nbsp;</a></span>serialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::QuantizedMultiModFeature::serialize </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Serializes the object to the specified stream. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">stream</td><td>the stream the object will be serialized to. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    {</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;      write (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#a4738f0df69322f7d10ff08ea9f78436f">x</a>);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;      write (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#accb11ae888160446c94d0b30aafd222e">y</a>);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      write (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#ac64b7a232a4526c6f67b4ae6195d4149">modality_index</a>);</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;      write (stream, <a class="code" href="structpcl_1_1_quantized_multi_mod_feature.html#aaa0d24e187cac516ee374d8aeda17a6e">quantized_value</a>);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>recognition/include/pcl/recognition/<a class="el" href="sparse__quantized__multi__mod__template_8h_source.html">sparse_quantized_multi_mod_template.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="structpcl_1_1_quantized_multi_mod_feature.html">QuantizedMultiModFeature</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
